package com.taxshare.seller.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.taxshare.seller.entity.SellerPrintConfigEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SellerUserPrintMapper extends BaseMapper<SellerPrintConfigEntity> {

    @Select("SELECT spbmjc FROM `t_seller_product_code` where spbm = #{taxCode} limit 1")
    String getTaxNameByTaxCode(@Param("taxCode") String taxCode);
}
